from celery import Celery
import os

app = Celery('tasks',broker='redis://localhost:6379/0', backend='redis://localhost:6379/0' )

app.autodiscover_tasks(['backend.tasks'])